package com.wbsxch.shiro.service;

import com.wbsxch.shiro.dto.UserDTO;

import java.util.List;
import java.util.Set;

public interface UserService extends BaseService<UserDTO> {

    UserDTO selectUserByUsername(String username);

    Set<String> selectUserRoleSet(Long id);

    Set<String> selectUserPermissionSet(Long id);

    List<UserDTO> selectAll(UserDTO userDTO,Integer currentPage,Integer pageSize);

    List<UserDTO> selectAll(UserDTO userDTO,Integer currentPage,Integer pageSize,String orderBy);
}
